#ifndef	_PATTERNFILEMANAGER_H_
#define	_PATTERNFILEMANAGER_H_

#include <iostream>
#include <string>
#include <list>

class					PatternFileManager
{
public:
	PatternFileManager();
	~PatternFileManager();

private:
	PatternFileManager(const PatternFileManager &);
	PatternFileManager	&	operator=(const PatternFileManager &);

private:
	bool					IsFileExist() const;
	void					GetContent(std::list<std::string> & content);
	void					SetTotalPosition(const std::list<std::string> & content);
	void					SetSize(const std::list<std::string> & content);

public:
	const int &				GetTotalPosition() const;
	const int &				GetSize() const;

public:
	void					LoadFile(const std::string & filename, std::list<std::string> & content);

private:
	std::string			_filename;
	int					_totalposition;
	int					_size;
};

#endif	//_PATTERNFILEMANAGER_H_